-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrap more inplace operations for fmpz and fmpq #1169
Conversation
@thofma thanks for fixing my stupid bug :-). Just to be clear: if #1168 already supersedes this, I won't complain if this PR just gets closed -- but perhaps something in here is useful. I also still think that we need more supporting APIs to allow writing truly generic code using these inplace APIs, at the very least |
Yes, I am. I currently have
|
There is another |
It's ok. I will take care of these thing in my pr. The main thing is we need to decide on whatever the deepcopy/mutable/make mutable interface is. |
1c345d3
to
ee7d964
Compare
Thing is, |
Codecov Report
@@ Coverage Diff @@
## master #1169 +/- ##
=======================================
Coverage 86.48% 86.48%
=======================================
Files 71 71
Lines 26659 26690 +31
=======================================
+ Hits 23055 23084 +29
- Misses 3604 3606 +2
Continue to review full report at Codecov.
|
This looks fine. We can merge this, and then I can rebase mine. I don't have have all of these in mine any more. |
I just saw issue #1166 and that reminded me of this patch which I wrote some time ago but then never submitted...
Tests are failing, though, but I am not sure if that's me doing something wrong, or a bug in flint... specifically, I get this nonsense:
So am I using
fmpq_add_si
wrong?